from selenium.webdriver.common.by import By

from base.base_action import BaseAction


class HomePage(BaseAction):

    button_label = By.ID, "com.android.contacts:id/floating_action_button"

    def click_add_button(self):
        """
        点击加号
        """
        self.click(self.button_label)